package com.schedule.common.enums;

/**
 * 排课状态枚举
 */
public enum ScheduleStatus {
    SCHEDULED("scheduled", "已排课"),
    COMPLETED("completed", "已完成"),
    CANCELLED("cancelled", "已取消"),
    RESCHEDULED("rescheduled", "已调课");

    private final String code;
    private final String desc;

    ScheduleStatus(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}